package com.ruoyi.galaxy.service.impl;

import com.ruoyi.galaxy.service.IGalaxyApiRequestService;
import com.ruoyi.galaxy.service.IGalaxyOrderService;
import com.ruoyi.galaxy.vo.order.GalaxyApiOrderListResponse;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * @author yeoman
 * @date 2025/4/10 18:45
 * @description
 */
@Component
public class GalaxyOrderServiceImpl implements IGalaxyOrderService {

    @Resource
    private IGalaxyApiRequestService galaxyApiRequestService;

    @Override
    public GalaxyApiOrderListResponse selectOrderList(Long userId) {
        return galaxyApiRequestService.getOrderList(userId);
    }
}
